package com.example.androidmainshixun.view;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.example.androidmainshixun.R;

public class Address extends AppCompatActivity {
    private Button goto_add_address;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.address);
        goto_add_address=findViewById(R.id.goto_add_address);
        goto_add_address.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent=new Intent(Address.this, AddAddress.class);
                startActivity(intent);
            }
        });
    }
}
